<!-- 首页 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>
        <%= title %>
    </title>
</head>
<link rel="shortcut icon" href="./images/favicon.ico">
<link rel="stylesheet" href="./kbn/font-awesome.min.css">
<link rel="stylesheet" href="./kbn/waifu.css">
<link rel="stylesheet" href="./bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="./stylesheets/public.css">
<link rel="stylesheet" href="./stylesheets/bg.css">
<link rel="stylesheet" href="./stylesheets/index.css">

<body>
    <main class="container">
        <div class="content">
            <h1>
                博客后台管理系统
            </h1>
            <div class="wordsbox">
                <input type="hidden" value="<%= mottoResult%>" id="mottoResult" />
                <p class="words"></p>
            </div>
            <p class="linkto">
                <a href="/writeblogs" title="点击开始写博客">点击进入</a>
            </p>
        </div>
    </main>
    <!-- <script src="./kbn/autoload.js"></script> -->
</body>
<script src="./javascripts/jquery.min.js"></script>
<script src="./bootstrap/js/bootstrap.min.js"></script>
<script type="module">
    import { methods } from "./javascripts/public.mjs"
    methods.setbg()
    let mottoResult = document.getElementById("mottoResult").value
    let arr = [mottoResult.split(",")][0]
    // console.log(arr);
    methods.setfontRollback(arr)
</script>

</html>